package com.cci.kangdao.dao;

import com.cci.kangdao.dao.model.StationServicePrivilegeT;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@MapperScan
public interface StationServicePrivilegeTDao {
    int deleteByPrimaryKey(Long id);

    int insert(StationServicePrivilegeT record);

    int insertSelective(StationServicePrivilegeT record);

    StationServicePrivilegeT selectByPrimaryKey(Long id);

    List<Long> selectControlledCompanyIdList();

    StationServicePrivilegeT selectByCompanyIdAndServiceStationNo(@Param("companyId") Long companyId,@Param("serviceStationNo") String serviceStationNo);

    int updateByPrimaryKeySelective(StationServicePrivilegeT record);

    int updateByPrimaryKey(StationServicePrivilegeT record);
}